package com.zb.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zb.result.PageUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author WEN
 * @Date 2023/10/27 0027
 **/
@Data
@ApiModel("工单备件列表查询条件封装")
public class WorkSpareSelectVo extends PageUtil {
    @ApiModelProperty(value = "工单单号")
    private String workNo;

    @ApiModelProperty(value = "申请类型：1-商家备件，2-服务商备件")
    private Integer type;

    @ApiModelProperty(value = "服务商备件类型：1-自购备件，2-服务商仓库备件")
    private Integer networkSpareType;

    @ApiModelProperty(value = "工单备件状态：1-待审核、2-已通过、3-已驳回、4-已撒回，5-已取消")
    private Integer status;

    @ApiModelProperty(value = "备件单号")
    private String workSpareNo;

    @ApiModelProperty(value = "旧件处理方式：1-废弃，2-旧件退回")
    private Integer oldCopeWay;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "申请开始时间")
    private Date createStartTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "申请结束时间")
    private Date createEndTime;
}
